package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;
import com.yuncheng.oaApi.entity.OaJobEntity;
import com.yuncheng.spcyApi.mapper.OaJobMapper;
import com.yuncheng.spcyApi.service.IOaJobService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author hua
 */
@Service
public class OaJobServiceImpl extends BaseServiceImpl<OaJobMapper, OaJobEntity> implements IOaJobService {

    @Resource
    private OaJobMapper oaJobMapper;

    @Override
    public List<String> selectIdByFpid(String fpid) {
        return oaJobMapper.selectIdByFpid(fpid);
    }

    @Override
    public List<String> selectFhjmcByFpid(String fpid) {
        return oaJobMapper.selectFhjmcByFpid(fpid);
    }
}
